package com.matt.domain;

import lombok.Data;

@Data
public class ChildrenWithTotal {
    private Children children; // 分页数据
    private Long total;        // 总记录数

    // 构造函数、Getter/Setter
    public ChildrenWithTotal(Children children, Long total) {
        this.children = children;
        this.total = total;
    }

    public Children getChildren() {
        return children;
    }

    public Long getTotal() {
        return total;
    }
}